import { createApp } from 'vue';
import App from './App.vue';
import router from '@/router/router.js';
import axios from 'axios';
import '@/assets/main.css'
const app = createApp(App);

// 设置全局的axios实例
app.config.globalProperties.$axios = axios;

// 设置axios的默认基础URL
axios.defaults.baseURL = '/api';

// 关闭生产模式提示
app.config.productionTip = false;

app.use(router).mount('#app');
